1 setup

Run this daily to get a snapshot of tag stats and health

2 notes

2.1 PATH TO LATEST DATA

# paths to update when you run
portaldir <- "portal_downloads"
datadirss <- list.files(portaldir)
datadir <- file.path(portaldir, datadirss[length(datadirss)])

2.2 basic helper function

2.3 load paths adjust as needed

2.4 Import data from wildlife portal and the goniometer. Merge the two stacks.

3 tag summary

ptt hex serial tag_model deployid catalog_ID_DUML BRS_season deploydate_yyyymmdd deploytime_hhmm species location tagger permit tagtype longitude latitude tagside taglocation taglocationnotes programming_basic_descriptor notes recorder age sex agesex_conf headshot agesex_reason appearance_notes
4 220740 2C2704C NA SPLASH10-333 ZcTag136_DUML NA brs10 20230725 1321 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
5 220736 2C27000 NA SPLASH10-333 ZcTag137_DUML NA brs10 20230725 1449 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a f high y mother calf NA
6 220743 2C27079 NA SPLASH10-333 ZcTag138_DUML NA brs10 20230725 1924 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
1 220745 2C27098 NA SPLASH10-333 ZcTag139_DUML NA brs10 20230726 1638 Zca Hat dlw NA NA NA NA R NA NA NA NA NA u u y NA
2 233112 406B18B NA SPLASH10-333 ZcTag140_DUML NA brs10 20230726 1958 Zca Hat dlw NA NA NA NA R NA NA NA NA NA a m high y teeth NA
3 233115 406B1BE NA SPLASH10-333 ZcTag141_DUML NA brs10 20230726 2027 Zca Hat dlw NA NA NA NA L NA NA NA NA NA a m high y teeth NA
9 233118 406B1E1 NA SPLASH10-333 ZcTag142_DUML NA brs10 20230807 NA NA NA NA NA NA NA NA NA NA NA
8 233110 406B16A NA SPLASH10-F-333 ZcTag143_DUML NA brs10 20230807 NA NA NA NA NA NA NA NA NA NA NA
7 233111 406B179 NA SPLASH10-F-333 ZcTag144_DUML NA brs10 20230807 NA Zca Hat dlw NA NA NA NA NA NA NA NA NA NA

4 calculate stats

5 summaries

5.1 status and corrupt

deployid ptt nmsg ncrc transmits battvoltrange zerodepthrange last_sta_recieved ncorrupt
2 ZcTag136_DUML 220740 46 46 6728 3.248 to 3.568 -13 to 4 2023-08-09 11:26:46 118
1 ZcTag137_DUML 220736 13 12 3755 3.376 to 3.504 1 to 3 2023-08-04 12:49:36 186
3 ZcTag138_DUML 220743 10 6 871 3.568 to 3.568 2 to 3 2023-08-07 14:30:41 318
4 ZcTag139_DUML 220745 11 11 4143 3.504 to 3.568 -37 to 1 2023-08-07 14:31:02 107
7 ZcTag140_DUML 233112 7 7 1188 3.44 to 3.504 1 to 3 2023-08-02 11:16:31 81
8 ZcTag141_DUML 233115 16 15 1702 3.504 to 3.504 1 to 3 2023-07-30 14:31:55 52
9 ZcTag142_DUML 233118 6 6 408 3.44 to 3.504 3 to 5 2023-08-07 15:34:58 32
5 ZcTag143_DUML 233110 0 0 0 16
6 ZcTag144_DUML 233111 0 0 0 20

5.2 locations

deployid ptt nloc nz na nb n0 n1 n2 n3 last_loc_recieved
2 ZcTag136_DUML 220740 246 1 15 53 117 40 14 6 2023-08-09 11:27:34
1 ZcTag137_DUML 220736 209 1 27 78 61 32 8 2 2023-08-09 11:38:28
3 ZcTag138_DUML 220743 202 0 34 106 29 24 6 3 2023-08-09 11:31:20
4 ZcTag139_DUML 220745 152 1 19 95 27 6 2 2 2023-08-08 23:40:19
7 ZcTag140_DUML 233112 71 1 13 31 19 4 3 0 2023-08-02 11:15:31
8 ZcTag141_DUML 233115 63 1 10 20 24 7 1 0 2023-07-30 17:41:17
9 ZcTag142_DUML 233118 22 0 4 5 8 3 2 0 2023-08-09 10:02:59
5 ZcTag143_DUML 233110 18 0 3 9 5 1 0 0 2023-08-09 09:55:24
6 ZcTag144_DUML 233111 15 0 4 7 4 0 0 0 2023-08-09 09:56:26

5.3 behavior

deployid ptt n_beh_msgs totalbeh_time_hours nbehgaps behgap_time_hours latest_beh_recieved
2 ZcTag136_DUML 220740 0 0 0 0
1 ZcTag137_DUML 220736 0 0 0 0
3 ZcTag138_DUML 220743 0 0 0 0
4 ZcTag139_DUML 220745 0 0 0 0
7 ZcTag140_DUML 233112 0 0 0 0
8 ZcTag141_DUML 233115 0 0 0 0
9 ZcTag142_DUML 233118 0 0 0 0
5 ZcTag143_DUML 233110 0 0 0 0
6 ZcTag144_DUML 233111 0 0 0 0

5.4 series

this doesn’t count the messages quite right for some reason, but you get the idea. you can scroll down below and see the plot of messages receieved.

deployid ptt n_ser_msgs totalser_time_hours nsergaps sergap_time_hours nsermsggaps latest_ser_recieved
2 ZcTag136_DUML 220740 83 332 2 16 4 2023-08-09
1 ZcTag137_DUML 220736 70 280 3 40 10 2023-08-07 20:00:00
3 ZcTag138_DUML 220743 37 148 18 120 30 2023-08-05 20:00:00
4 ZcTag139_DUML 220745 40 156 12 124 31 2023-08-07
7 ZcTag140_DUML 233112 19 76 6 40 10 2023-07-31 16:00:00
8 ZcTag141_DUML 233115 16 64 3 28 7 2023-07-30 16:00:00
9 ZcTag142_DUML 233118 6 24 2 8 2 2023-08-08 20:00:00
5 ZcTag143_DUML 233110 6 24 1 8 2 2023-08-09
6 ZcTag144_DUML 233111 2 8 1 4 1 2023-08-08 08:00:00

5.5 fastloc

deployid ptt fastloc_received fastloc_locnum fastloc_failures fastloc_latest
ZcTag137_DUML 220736 0 0 0 0
ZcTag136_DUML 220740 0 0 0 0
ZcTag138_DUML 220743 0 0 0 0
ZcTag139_DUML 220745 0 0 0 0
ZcTag143_DUML 233110 3 2 15 08-Aug-2023 21:30:03
ZcTag144_DUML 233111 2 3 7 08-Aug-2023 21:09:52
ZcTag140_DUML 233112 0 0 0 0
ZcTag141_DUML 233115 0 0 0 0
ZcTag142_DUML 233118 0 0 0 0

6 position snapshot

Plot of the last four positions for all the tags which have generated an argos position within the last 3 days

7 plot pressure sensors

PROVISIONAL plot status cutoffs and bat voltage. Cutoffs are in dotted red lines. These are either:

  1. healthy tags: the last status messages as a conservative cutoff and on tags that are still actively transmitting this is likely to increase
  2. unhealthy pressure transducer tags: if there are 2 status messages (crc’d) where the | zerodepth | > 10 then this is the last good status message before the 1st of those two bad messages.

We have settled on a more complicated cutoff system to capture a little more very likely good data. For detail please see DATAPREP_sattag_processing. But this gives you a general idea of approx. cutoffs and pressure transducer health.

8 control cee

8.1 +/- 12 hour look at ship based cee 23_01 on 20220804

gonio hits in purple

9 series message source plots